package com.ddstation.doctor.service;

import javax.inject.Inject;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ddstation.doctor.entity.DdDoctorEntity;
import com.ddstation.doctor.mapper.DdDoctorMapper;

@Service
public class DdDoctorServiceImpl implements DdDoctorServiceItf {

	@Transactional(readOnly = true)
	public DdDoctorEntity getDoctorInfo(String doctorId) {
		return ddDoctorMapper.selectDoctorInfo(doctorId);
	}
	
	@Inject private DdDoctorMapper ddDoctorMapper;
}
